package com.appleyk.TEST;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class TestController {

    @GetMapping("/demo1")
    public String demo1(){


        return "{\n" +
                "    \"errcode\": 0123,\n" +
                "    \"errmsg\": \"ok\"\n" +
                "}";
    }


}
